package com.jk.dao;

import com.jk.entity.Consignee;
import com.jk.entity.MyInfoEntity;
import com.jk.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface LoginDao {

    User login(User user);

    void addUser(User user);

    User selephone(String phone);

/*    void addphone(User user);*/

    User  checkUserName(String userName);

    MyInfoEntity myInfo(String user_id);

    void upMyinfo(MyInfoEntity myInfoEntity);

    List<Consignee> chakanDing(String user_id);

    void shanDi(Integer consignee_id);

    void addMyself(MyInfoEntity myInfoEntity);

    void addressMy(Consignee con);
}
